package com.qf.pojo;

/**
 * @ClassName User
 * @Author xiao宋
 * @Date 15:16  2022/9/29
 * @Version 1.0
 * @Description TODO
 */
public class User {
    private int id;
    private String name;
    private boolean sex;

    public User() {
    }

    public User(int id, String name, boolean sex) {
        this.id = id;
        this.name = name;
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }
}
